<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{$img_url}}index.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="{{$js_url}}function.js"></script>
<div id="mainer">
  <table class="table1" width="100%">
    <tr> 
      <td align="left">用户密码修改</td>
    </tr>
  </table>
<SCRIPT language=javascript>
function userpwcheck(userpwchangeform)
{ 
	if (userpwchangeform.oldMpassword.value=="")
	{
		alert("修改密码必须输入旧密码！");
		userpwchangeform.oldMpassword.focus();
		return false;
	}
	if (userpwchangeform.Mpassword.value=="")
	{
		alert("请输入新密码！");
		userpwchangeform.Mpassword.focus();
		return false;
	}
	if (userpwchangeform.Mpassword2.value=="")
	{
		alert("请再次输入新密码！");
		userpwchangeform.Mpassword2.focus();
		return false;
	}
	if (userpwchangeform.Mpassword2.value != userpwchangeform.Mpassword.value)
	{
		alert("前后两次输入的新密码不一致！");
		userpwchangeform.Mpassword2.focus();
		return false;
	}	
 }
 </script>
<dl class="helptips">
<dt></dt>
    <table width="95%"  border="0" align="center" cellpadding="7" cellspacing="1">
      <form action="" method="post" enctype="multipart/form-data" name="userpwchangeform" id="userpwchangeform" onSubmit="return userpwcheck(this)">
      <tr>  
          <td width="136" align="right">用 户 名:</td>     
          <td width="776" class=""><div class="redblod"></div>
                    <input name="Cadmin" type="text" id="Cadmin" value="{{$Madmin}}" size="25" maxlength="25" disabled> 
                    <input name="Madminid" type="hidden" id="Madminid" value="{{$Madminid}}"></td>
                </tr>
                <tr>                  
          <td align="right">原始密码:</td>                  
          <td class="">
			<div class="redblod"></div>
                    <input name="oldMpassword" type="password" id="oldMpassword" /> 
                    <font color=red>修改密码请输入旧密码。</font></td>
                </tr>				
                <tr>                  
          <td align="right">新 密 码:</td>                  
          <td class="">
			<div class="redblod"></div>
                    <input name="Mpassword" type="password" id="Mpassword" /> 
                    <font color=red>请使用5-16位的数字加英文的组合字符做为密码。</font></td>
                </tr>
                <tr>               
          <td align="right">确认密码:</td>                  
          <td class="">
			<div class="redblod"></div>
                    <input name="Mpassword2" type="password" id="Mpassword2" /> 
                    <span class=""></span>
				</tr>
                <tr>    
          <td height="38" align="right">&nbsp;</td>      
          <td><input type="submit" value="修改密码"> <input type="reset" value="重新填写"></td>
                </tr>
              </form>
            </table>
</dl>

{{include file="footer.html"}}
</div>